package com.ruoyi.warning.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.warning.domain.entity.Area;
import com.ruoyi.warning.domain.query.AreaQuery;

import java.util.List;

/**
 * <p>
 * 区域表 服务类
 * </p>
 *
 * @author chenhc
 * @since 2025-02-25
 */
public interface IAreaService extends IService<Area> {

    TableDataInfo getAreaPage(AreaQuery query);

    List<Area> getAreaList(AreaQuery query);

    Object refresh();

    Object getAreaTree(AreaQuery query);

    Object updateUsed(String id);
}
